// import com.alibaba.druid.sql.ast.SQLExpr_ptr;
// import com.alibaba.druid.sql.ast.SQLLimit_ptr;
// import com.alibaba.druid.sql.ast.SQLName_ptr;
// import com.alibaba.druid.sql.ast.SQLOrderBy_ptr;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;
#pragma once
#include "MySqlStatementImpl.h"
#include "MySqlShowStatement.h"

class MySqlShowTopologyStatement : virtual public MySqlStatementImpl, virtual public MySqlShowStatement
{
public:
  BOOL_ptr full;
  SQLName_ptr name;
  SQLOrderBy_ptr orderBy;
  SQLExpr_ptr where;
  SQLLimit_ptr limit;

  SHAREDOBJECT(MySqlShowTopologyStatement);
  SQLLimit_ptr getLimit();

  void setLimit(SQLLimit_ptr limit);

  SQLOrderBy_ptr getOrderBy();

  void setOrderBy(SQLOrderBy_ptr orderBy);

  SQLExpr_ptr getWhere();

  void setWhere(SQLExpr_ptr where);

  SQLName_ptr getName();

  void setName(SQLName_ptr name);

  BOOL_ptr isFull();

  void setFull(BOOL_ptr full);

  void accept0(MySqlASTVisitor_ptr visitor);
};
